package structural.adapter.byobject;


public class Test {

    public static void main(String[] args) {
        DigitalPhone pDigitalPhone = new DigitalPhone();
        SmartPhone pSmartPhone = new SmartPhone(pDigitalPhone);
        pSmartPhone.wechat();
        pSmartPhone.call();
    }

}
